var limsArchivesHandle = Gikam.getPageObject({

    getEditListColumns : function() {
        return [ {
            checkbox : true
        }, {
            field : 'archivesCode',
            title : 'T_LIMS_ARCHIVES_HANDLE.ARCHIVESCODE'
        }, {
            field : 'borrowTime',
            title : 'T_LIMS_ARCHIVES_HANDLE.BORROWTIME'
        }, {
            field : 'loanPurpose',
            title : 'T_LIMS_ARCHIVES_HANDLE.LOANPURPOSE'
        }, {
            field : 'borrowId',
            title : 'T_LIMS_ARCHIVES_HANDLE.BORROWID'
        }, {
            field : 'borrower',
            title : 'T_LIMS_ARCHIVES_HANDLE.BORROWER'
        }, {
            field : 'receptionistId',
            title : 'T_LIMS_ARCHIVES_HANDLE.RECEPTIONISTID'
        }, {
            field : 'receptionist',
            title : 'T_LIMS_ARCHIVES_HANDLE.RECEPTIONIST'
        }, {
            field : 'auditId',
            title : 'T_LIMS_ARCHIVES_HANDLE.AUDITID'
        }, {
            field : 'audit',
            title : 'T_LIMS_ARCHIVES_HANDLE.AUDIT'
        }, {
            field : 'returnTime',
            title : 'T_LIMS_ARCHIVES_HANDLE.RETURNTIME'
        }, {
            field : 'returnId',
            title : 'T_LIMS_ARCHIVES_HANDLE.RETURNID'
        }, {
            field : 'returner',
            title : 'T_LIMS_ARCHIVES_HANDLE.RETURNER'
        }, {
            field : 'remark',
            title : 'T_LIMS_ARCHIVES_HANDLE.REMARK'
        }, {
            field : 'signer',
            title : 'T_LIMS_ARCHIVES_HANDLE.SIGNER'
        }, {
            field : 'signerId',
            title : 'T_LIMS_ARCHIVES_HANDLE.SIGNERID'
        }, {
            field : 'moveTime',
            title : 'T_LIMS_ARCHIVES_HANDLE.MOVETIME'
        }, {
            field : 'originalOrCopy',
            title : 'T_LIMS_ARCHIVES_HANDLE.ORIGINALORCOPY'
        }, {
            field : 'copies',
            title : 'T_LIMS_ARCHIVES_HANDLE.COPIES'
        }, {
            field : 'copiesPerPage',
            title : 'T_LIMS_ARCHIVES_HANDLE.COPIESPERPAGE'
        }, {
            field : 'totalPage',
            title : 'T_LIMS_ARCHIVES_HANDLE.TOTALPAGE'
        }, {
            field : 'checkTime',
            title : 'T_LIMS_ARCHIVES_HANDLE.CHECKTIME'
        }, {
            field : 'destoryReason',
            title : 'T_LIMS_ARCHIVES_HANDLE.DESTORYREASON'
        }, {
            field : 'applyerId',
            title : 'T_LIMS_ARCHIVES_HANDLE.APPLYERID'
        }, {
            field : 'applyer',
            title : 'T_LIMS_ARCHIVES_HANDLE.APPLYER'
        }, {
            field : 'destoryTime',
            title : 'T_LIMS_ARCHIVES_HANDLE.DESTORYTIME'
        }, {
            field : 'destoryId',
            title : 'T_LIMS_ARCHIVES_HANDLE.DESTORYID'
        }, {
            field : 'destoryer',
            title : 'T_LIMS_ARCHIVES_HANDLE.DESTORYER'
        }, {
            field : 'supervisor',
            title : 'T_LIMS_ARCHIVES_HANDLE.SUPERVISOR'
        }, {
            field : 'supervisorId',
            title : 'T_LIMS_ARCHIVES_HANDLE.SUPERVISORID'
        }, {
            field : 'status',
            title : 'T_LIMS_ARCHIVES_HANDLE.STATUS'
        } ];
    },

    getBaseInfoFormFields : function() {
        return [ {
            field : 'archivesCode',
            title : 'T_LIMS_ARCHIVES_HANDLE.ARCHIVESCODE',
            validators : [ 'strLength[0,10]' ]
        }, {
            field : 'loanPurpose',
            title : 'T_LIMS_ARCHIVES_HANDLE.LOANPURPOSE',
            validators : [ 'strLength[0,53]' ]
        }, {
            field : 'borrowId',
            title : 'T_LIMS_ARCHIVES_HANDLE.BORROWID',
            validators : [ 'strLength[0,12]' ]
        }, {
            field : 'borrower',
            title : 'T_LIMS_ARCHIVES_HANDLE.BORROWER',
            validators : [ 'strLength[0,20]' ]
        }, {
            field : 'receptionistId',
            title : 'T_LIMS_ARCHIVES_HANDLE.RECEPTIONISTID',
            validators : [ 'strLength[0,12]' ]
        }, {
            field : 'receptionist',
            title : 'T_LIMS_ARCHIVES_HANDLE.RECEPTIONIST',
            validators : [ 'strLength[0,20]' ]
        }, {
            field : 'auditId',
            title : 'T_LIMS_ARCHIVES_HANDLE.AUDITID',
            validators : [ 'strLength[0,12]' ]
        }, {
            field : 'audit',
            title : 'T_LIMS_ARCHIVES_HANDLE.AUDIT',
            validators : [ 'strLength[0,20]' ]
        }, {
            field : 'returnId',
            title : 'T_LIMS_ARCHIVES_HANDLE.RETURNID',
            validators : [ 'strLength[0,12]' ]
        }, {
            field : 'returner',
            title : 'T_LIMS_ARCHIVES_HANDLE.RETURNER',
            validators : [ 'strLength[0,20]' ]
        }, {
            field : 'remark',
            title : 'T_LIMS_ARCHIVES_HANDLE.REMARK',
            validators : [ 'strLength[0,66]' ]
        }, {
            field : 'signer',
            title : 'T_LIMS_ARCHIVES_HANDLE.SIGNER',
            validators : [ 'strLength[0,20]' ]
        }, {
            field : 'signerId',
            title : 'T_LIMS_ARCHIVES_HANDLE.SIGNERID',
            validators : [ 'strLength[0,12]' ]
        }, {
            field : 'originalOrCopy',
            title : 'T_LIMS_ARCHIVES_HANDLE.ORIGINALORCOPY',
            validators : [ 'strLength[0,8]' ]
        }, {
            field : 'copies',
            title : 'T_LIMS_ARCHIVES_HANDLE.COPIES',
            validators : [ 'strLength[0,8]' ]
        }, {
            field : 'copiesPerPage',
            title : 'T_LIMS_ARCHIVES_HANDLE.COPIESPERPAGE',
            validators : [ 'strLength[0,8]' ]
        }, {
            field : 'totalPage',
            title : 'T_LIMS_ARCHIVES_HANDLE.TOTALPAGE',
            validators : [ 'strLength[0,8]' ]
        }, {
            field : 'destoryReason',
            title : 'T_LIMS_ARCHIVES_HANDLE.DESTORYREASON',
            validators : [ 'strLength[0,53]' ]
        }, {
            field : 'applyerId',
            title : 'T_LIMS_ARCHIVES_HANDLE.APPLYERID',
            validators : [ 'strLength[0,12]' ]
        }, {
            field : 'applyer',
            title : 'T_LIMS_ARCHIVES_HANDLE.APPLYER',
            validators : [ 'strLength[0,20]' ]
        }, {
            field : 'destoryId',
            title : 'T_LIMS_ARCHIVES_HANDLE.DESTORYID',
            validators : [ 'strLength[0,12]' ]
        }, {
            field : 'destoryer',
            title : 'T_LIMS_ARCHIVES_HANDLE.DESTORYER',
            validators : [ 'strLength[0,20]' ]
        }, {
            field : 'supervisor',
            title : 'T_LIMS_ARCHIVES_HANDLE.SUPERVISOR',
            validators : [ 'strLength[0,20]' ]
        }, {
            field : 'supervisorId',
            title : 'T_LIMS_ARCHIVES_HANDLE.SUPERVISORID',
            validators : [ 'strLength[0,12]' ]
        }, {
            field : 'status',
            title : 'T_LIMS_ARCHIVES_HANDLE.STATUS',
            validators : [ 'strLength[0,8]' ]
        }, ];
    },

    getChooseListColumns : function() {
        return [ {index: true},{
            field : 'archivesCode',
            title : 'T_LIMS_ARCHIVES_HANDLE.ARCHIVESCODE'
        }, {
            field : 'borrowTime',
            title : 'T_LIMS_ARCHIVES_HANDLE.BORROWTIME'
        }, {
            field : 'loanPurpose',
            title : 'T_LIMS_ARCHIVES_HANDLE.LOANPURPOSE'
        }, {
            field : 'borrowId',
            title : 'T_LIMS_ARCHIVES_HANDLE.BORROWID'
        }, {
            field : 'borrower',
            title : 'T_LIMS_ARCHIVES_HANDLE.BORROWER'
        }, {
            field : 'receptionistId',
            title : 'T_LIMS_ARCHIVES_HANDLE.RECEPTIONISTID'
        }, {
            field : 'receptionist',
            title : 'T_LIMS_ARCHIVES_HANDLE.RECEPTIONIST'
        }, {
            field : 'auditId',
            title : 'T_LIMS_ARCHIVES_HANDLE.AUDITID'
        }, {
            field : 'audit',
            title : 'T_LIMS_ARCHIVES_HANDLE.AUDIT'
        }, {
            field : 'returnTime',
            title : 'T_LIMS_ARCHIVES_HANDLE.RETURNTIME'
        }, {
            field : 'returnId',
            title : 'T_LIMS_ARCHIVES_HANDLE.RETURNID'
        }, {
            field : 'returner',
            title : 'T_LIMS_ARCHIVES_HANDLE.RETURNER'
        }, {
            field : 'remark',
            title : 'T_LIMS_ARCHIVES_HANDLE.REMARK'
        }, {
            field : 'signer',
            title : 'T_LIMS_ARCHIVES_HANDLE.SIGNER'
        }, {
            field : 'signerId',
            title : 'T_LIMS_ARCHIVES_HANDLE.SIGNERID'
        }, {
            field : 'moveTime',
            title : 'T_LIMS_ARCHIVES_HANDLE.MOVETIME'
        }, {
            field : 'originalOrCopy',
            title : 'T_LIMS_ARCHIVES_HANDLE.ORIGINALORCOPY'
        }, {
            field : 'copies',
            title : 'T_LIMS_ARCHIVES_HANDLE.COPIES'
        }, {
            field : 'copiesPerPage',
            title : 'T_LIMS_ARCHIVES_HANDLE.COPIESPERPAGE'
        }, {
            field : 'totalPage',
            title : 'T_LIMS_ARCHIVES_HANDLE.TOTALPAGE'
        }, {
            field : 'checkTime',
            title : 'T_LIMS_ARCHIVES_HANDLE.CHECKTIME'
        }, {
            field : 'destoryReason',
            title : 'T_LIMS_ARCHIVES_HANDLE.DESTORYREASON'
        }, {
            field : 'applyerId',
            title : 'T_LIMS_ARCHIVES_HANDLE.APPLYERID'
        }, {
            field : 'applyer',
            title : 'T_LIMS_ARCHIVES_HANDLE.APPLYER'
        }, {
            field : 'destoryTime',
            title : 'T_LIMS_ARCHIVES_HANDLE.DESTORYTIME'
        }, {
            field : 'destoryId',
            title : 'T_LIMS_ARCHIVES_HANDLE.DESTORYID'
        }, {
            field : 'destoryer',
            title : 'T_LIMS_ARCHIVES_HANDLE.DESTORYER'
        }, {
            field : 'supervisor',
            title : 'T_LIMS_ARCHIVES_HANDLE.SUPERVISOR'
        }, {
            field : 'supervisorId',
            title : 'T_LIMS_ARCHIVES_HANDLE.SUPERVISORID'
        }, {
            field : 'status',
            title : 'T_LIMS_ARCHIVES_HANDLE.STATUS'
        }, ];
    },

    baseUrl : IFM_CONTEXT + '/secure/basemodule/rm/archives-handles'
});
